package com.service.approval.controller.dto;

public class ApprovalResult {

	private boolean approvalResult;
	
	private String approvalMessage;
	
	private String merchantOrderNo;
	
	private String insuredIdNumber;
	
	private String jbPolicyNo;
	
	public ApprovalResult(boolean approvalResult, String approvalMessage) {
		this.approvalResult = approvalResult;
		this.approvalMessage = approvalMessage;
	}

	public ApprovalResult(boolean approvalResult, String approvalMessage, String merchantOrderNo, String insuredIdNumber, String jbPolicyNo) {
		this(approvalResult, approvalMessage);
		this.merchantOrderNo = merchantOrderNo;
		this.insuredIdNumber = insuredIdNumber;
		this.jbPolicyNo = jbPolicyNo;
	}

	public boolean isApprovalResult() {
		return approvalResult;
	}

	public void setApprovalResult(boolean approvalResult) {
		this.approvalResult = approvalResult;
	}

	public String getApprovalMessage() {
		return approvalMessage;
	}

	public void setApprovalMessage(String approvalMessage) {
		this.approvalMessage = approvalMessage;
	}

	public String getMerchantOrderNo() {
		return merchantOrderNo;
	}

	public void setMerchantOrderNo(String merchantOrderNo) {
		this.merchantOrderNo = merchantOrderNo;
	}

	public String getInsuredIdNumber() {
		return insuredIdNumber;
	}

	public void setInsuredIdNumber(String insuredIdNumber) {
		this.insuredIdNumber = insuredIdNumber;
	}

	public String getJbPolicyNo() {
		return jbPolicyNo;
	}

	public void setJbPolicyNo(String jbPolicyNo) {
		this.jbPolicyNo = jbPolicyNo;
	}
	
	
}
